package com.amos.muexamclient.security.service;

import com.amos.muexamclient.sys.service.dto.SysMenuDTO;

import java.util.List;
import java.util.Map;

/**
 * Copyright © 2018 嘉源锐信. All rights reserved.
 *
 * @Project: mu-exam
 * @ClassName: SysLoginService
 * @Package: com.amos.muexamclient.security.service
 * @author: zhuqb
 * @Description:
 * @date: 2020/3/24 0024 下午 14:40
 * @Version: V1.0
 */
public interface SysLoginService {
    /**
     * 登陆
     *
     * @param username
     * @param passwd
     * @param code
     * @param uuid
     * @return
     */
    String login(String username, String passwd, String code, String uuid);

    /**
     * 获取用户信息
     *
     * @return
     */
    Map<String, Object> getInfo();

    List<SysMenuDTO> getRouters();
}
